﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UniversalDataAccess.BusinessEntities
{
    [Serializable]
    public class TObject
    {
        public int ID { get; set; }
        public string PARENT_ID { get; set; }
        public int CLASS_ID { get; set; }
        public string NAME { get; set; }
        public string EXT_ID { get; set; }
        public string DataBaseName { get; set; }
        public string GROUP_NAME { get; set; }

        public TObject()
        {

        }

        public TObject(string dataBasebName, int id, string parent_id, int class_id, string name, string ext_id)
        {
            DataBaseName = dataBasebName;
            ID = id;
            PARENT_ID = parent_id;
            CLASS_ID = class_id;
            NAME = name;
            EXT_ID = ext_id;
        }       
    }
}
